Kanzi 3.9.10
kanzi::StartupProfilerRegistry Class Reference

The registry of startup profilers. More...

#include <kanzi/core/profiling/startup_profiler_registry.hpp>

Inheritance diagram for kanzi::StartupProfilerRegistry:
[legend]

Public Member Functions

 StartupProfilerRegistry ()
 Constructor.
 
- Public Member Functions inherited from kanzi::ProfilerRegistry< IntervalProfiler >
ProfilerContainer::const_iterator beginProfilers () const
 Gets iterator to the begging of the profiler container.
 
ProfilerContainer::const_iterator endProfilers () const
 Gets iterator to the end of the profiler container.
 
void registerProfiler (ProfilerSharedPtr profiler)
 Adds a new profiler to the registry.
 
void unregisterProfiler (ProfilerSharedPtr profiler)
 Removes a profiler from the registry.
 

Public Attributes

IntervalProfilerSharedPtr m_attachPrefabProfiler
 Prefabs attachment profiler.
 
IntervalProfilerSharedPtr m_initializationProfiler
 Application initialization profiler.
 
IntervalProfilerSharedPtr m_initializeDomainProfiler
 Domain initialization profiler.
 
IntervalProfilerSharedPtr m_initializeGLProfiler
 Startup GL initialization profiler.
 
IntervalProfilerSharedPtr m_initializeGraphicsProfiler
 Graphics initialization profiler.
 
IntervalProfilerSharedPtr m_initializeLoadingThreadsProfiler
 Loading threads initialization profiler.
 
IntervalProfilerSharedPtr m_instantiatePrefabProfiler
 Prefabs instantiation profiler.
 
IntervalProfilerSharedPtr m_loadPluginsProfiler
 Plugins loading profiler.
 
IntervalProfilerSharedPtr m_loadPrefabProfiler
 Prefabs loading profiler.
 
IntervalProfilerSharedPtr m_onProjectLoadedProfiler
 OnProjectLoaded profiler.
 
IntervalProfilerSharedPtr m_openKzbProfiler
 Startup kzb file opening profiler.
 
IntervalProfilerSharedPtr m_registerDefaultResourcesProfiler
 Default resource registration profiler.
 
IntervalProfilerSharedPtr m_registerMetadataProfiler
 Metadata registration profiler.
 
IntervalProfilerSharedPtr m_registerRuntimeAssetsProfiler
 Runtime assets registration profiler.
 
IntervalProfilerSharedPtr m_resetRendererProfiler
 Renderer reset profiler.
 
IntervalProfilerSharedPtr m_resumeGLProfiler
 ResumeGL profiler.
 

Additional Inherited Members

- Public Types inherited from kanzi::ProfilerRegistry< IntervalProfiler >
typedef unordered_set< ProfilerSharedPtrProfilerContainer
 The profiler container type.
 
typedef shared_ptr< IntervalProfilerProfilerSharedPtr
 The profiler shared point type.
 
- Protected Attributes inherited from kanzi::ProfilerRegistry< IntervalProfiler >
ProfilerContainer m_registeredProfilers
 The registered profilers.
 

Detailed Description

The registry of startup profilers.

Profilers in this class are available only in the Kanzi profiling build.

Constructor & Destructor Documentation

◆ StartupProfilerRegistry()

kanzi::StartupProfilerRegistry::StartupProfilerRegistry ( )
explicit

Constructor.

Member Data Documentation

◆ m_loadPluginsProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_loadPluginsProfiler

Plugins loading profiler.

On startup, measures the time used to load Kanzi Engine plugins.

◆ m_registerMetadataProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_registerMetadataProfiler

Metadata registration profiler.

On startup, the profiler measures the time used to register metadata.

◆ m_initializationProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializationProfiler

Application initialization profiler.

On startup, the profiler measures the time used to initialize an application.

See also
Application::initialize().

◆ m_initializeGraphicsProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializeGraphicsProfiler

Graphics initialization profiler.

On startup, the profiler measures the time used to initialize the graphics stack.

See also
GLGraphicsOutput.

◆ m_initializeGLProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializeGLProfiler

Startup GL initialization profiler.

On startup, the profiler measures the time used to initialize the graphics library.

◆ m_registerDefaultResourcesProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_registerDefaultResourcesProfiler

Default resource registration profiler.

On startup, the profiler measures the time used to register the resource IDs for the Kanzi default resources, such as BackgroundBrush, NullBrush, WhiteBrush, BlackBrush, and so on. This profiler measures only the amount of time it takes to register these resources, not the amount of time it takes to load these resources.

See also
registerDefaultResources().

◆ m_loadPrefabProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_loadPrefabProfiler

Prefabs loading profiler.

On startup, the profiler measures the time used to load prefabs.

See also
PrefabTemplate.

◆ m_instantiatePrefabProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_instantiatePrefabProfiler

Prefabs instantiation profiler.

On startup, the profiler measures the time used to instantiate prefabs.

See also
PrefabTemplate.

◆ m_attachPrefabProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_attachPrefabProfiler

Prefabs attachment profiler.

On startup, the profiler measures the time used to attach prefabs to nodes.

See also
PrefabTemplate.

◆ m_resetRendererProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_resetRendererProfiler

Renderer reset profiler.

On startup, the profiler measures the time used by the Renderer3D::reset() function, which invalidates all the internal caches of the renderer for the GPU state.

◆ m_initializeLoadingThreadsProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializeLoadingThreadsProfiler

Loading threads initialization profiler.

On startup, the profiler measures the time used to initialize loading threads.

◆ m_registerRuntimeAssetsProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_registerRuntimeAssetsProfiler

Runtime assets registration profiler.

On startup, the profiler measures the time used to open the kzb file with the Kanzi runtime assets, which contains assets, such as the default shaders and materials for the default shaders. Kanzi runtime assets are embedded in the application executable. This profiler does not include the amount of time it takes to load these resources. Kanzi loads resources only when your application needs them.

See also
registerRuntimeAssets().

◆ m_openKzbProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_openKzbProfiler

Startup kzb file opening profiler.

On startup, the profiler measures the time used to open the startup kzb file.

◆ m_initializeDomainProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_initializeDomainProfiler

Domain initialization profiler.

On startup, the profiler measures the time used to initialize the Domain.

◆ m_onProjectLoadedProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_onProjectLoadedProfiler

OnProjectLoaded profiler.

On startup, the profiler measures the time used by the Application::onProjectLoaded function, which initializes an application after a project has been loaded.

◆ m_resumeGLProfiler

IntervalProfilerSharedPtr kanzi::StartupProfilerRegistry::m_resumeGLProfiler

ResumeGL profiler.

On startup, the profiler measures the time used by the Application::resumeGL function, which resumes the graphics language subsystem.


The documentation for this class was generated from the following file: